<?php
/*************************************************
 * file description
 * @filename:           ClassToTeacherModel.class.php
 * @desc:               班级->老师关系表
 * @tables:             [dd_class_to_teacher]
 * @date:               2016-10-02
 * @author:             大业
 * @version:            v1.0
 *************************************************/
namespace Common\Model;

use Common\Model\BaseModel;

class ClassToTeacherModel extends BaseModel
{
    /**
     * [获取班级编号列表]
     * @method getClaNoList
     * @auther 大业
     * @create 2016-10-04
     * @return [array] [description]
     */
    public function getClaNoList($where)
	{
		$info = $this->field('cla_no')
             ->where($where)
             ->group('cla_no')
             ->select();
        //dd($info);
        foreach ($info as $key => $value) {
            $list[$key] = $value['cla_no'];
        }
        return ($list);
	}




}
